<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>查看所有用户信息</title>
    <script src="/static/js/jquery.js"></script>
    <script>


        $(function () {
            var arr = []
            $.ajax({
                url: '/app/login/showUserAction/',
                dataType: 'json',
                type: 'POST',
                data: {}
            }).done(function (res) {

                arr = res.data;
                for (let i = 0; i < arr.length; i++) {
                    let item = arr[i]
                    let li = $('div ul').append("<li>"+`${item.userName}`+"</li>")
                    li.append("<li>"+`${item.passwd}`+"</li>")
                }
            })
        })

    </script>
</head>
<body>

<h1>注册的用户信息</h1>


<div>
    <ul>
    </ul>
</div>


</body>
</html>